package
{
	import net.flashpunk.World;


	
	/**
	 * ...
	 * @author Alex
	 */
	public class GameWorld extends World 
	{
		[Embed(source = '/assets/LevelTest.oel', mimeType = 'application/octet-stream')] 
		private static const DEFAULT_MAP:Class;
		
		public function GameWorld() 
		{
			
		}
							
		
		override public function  begin():void 
		{			
			//var level:Level = Level(add(new Level(DEFAULT_MAP)));
			var level:Level = new Level(DEFAULT_MAP,this);
			level.loadMap();
			level.loadObjects();
			add(level);
			

		}
		
	}
	
}